package com.eascs.web.o2o.web.reward.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name=" dm_reward_cur_loan_detail ")
@NamedQuery(name="CurLoanDetail.findAll", query="SELECT o FROM CurLoanDetail o")
public class CurLoanDetail implements Serializable{

	/**
	 * dm_reward_cur_loan_detail表映射实体类
	 */
	private static final long serialVersionUID = 12345678911L;

	@Id
	private String id;    //主键
	
	private String t_month;    //考核月份
	
	private String province_code;    //省区code
	
	private String province_name;    //省区名称
	
	private String user_no;    //被考核对象no
	
	private String user_code;    //被考核对象code
	
	private String user_name;    //被考核对象姓名
	
	private String bill_code;    //贷款单号
	
	private String loaner_name;    //借款人
	
	private BigDecimal loan_amount;    //放款金额
	
	private String loan_term;    //放款期限
	
	private BigDecimal convert_loan_amount;    //折算后放款金额
	
	@Temporal(TemporalType.DATE)
	private Date loan_date;    //放款日期
	
	@Temporal(TemporalType.DATE)
	private Date expire_date;    //到期日期
	
	private String ltd;    //经营平台no
	
	private String ltd_code;    //经营平台code
	
	private String ltd_name;    //经营平台名称
	
	private String operator_no;    //信贷经理no
	
	private String operator_name;    //信贷经理姓名
	
	private String referrer_no;    //推荐人no
	
	private String referrer_name;    //推荐人姓名
	
	private String recommend_type;    //推荐类型
	
	private String referrer_assign_coefficient;    //推荐人系数
	
	private String is_continue_loan;    //是否续贷
	
	private BigDecimal user_convert_loan_amount;    //被考核对象折算金额
	
	private String user_bill_relation;    //被考核对象与本单关系
	
	private String is_lock;    //是否锁定
	
	private String create_user;    //创建人
	
	@Temporal(TemporalType.DATE)
	private Date create_date;    //创建时间
	
	private String update_user;    //修改人
	
	@Temporal(TemporalType.DATE)
	private Date update_date;    //修改时间
	
	private String confirm_user;    //确认人
	
	@Temporal(TemporalType.DATE)
	private Date confirm_date;    //确认时间

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getT_month() {
		return t_month;
	}

	public void setT_month(String t_month) {
		this.t_month = t_month;
	}

	public String getProvince_code() {
		return province_code;
	}

	public void setProvince_code(String province_code) {
		this.province_code = province_code;
	}

	public String getProvince_name() {
		return province_name;
	}

	public void setProvince_name(String province_name) {
		this.province_name = province_name;
	}

	public String getUser_no() {
		return user_no;
	}

	public void setUser_no(String user_no) {
		this.user_no = user_no;
	}

	public String getUser_code() {
		return user_code;
	}

	public void setUser_code(String user_code) {
		this.user_code = user_code;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getBill_code() {
		return bill_code;
	}

	public void setBill_code(String bill_code) {
		this.bill_code = bill_code;
	}

	public String getLoaner_name() {
		return loaner_name;
	}

	public void setLoaner_name(String loaner_name) {
		this.loaner_name = loaner_name;
	}

	public BigDecimal getLoan_amount() {
		return loan_amount;
	}

	public void setLoan_amount(BigDecimal loan_amount) {
		this.loan_amount = loan_amount;
	}

	public String getLoan_term() {
		return loan_term;
	}

	public void setLoan_term(String loan_term) {
		this.loan_term = loan_term;
	}

	public BigDecimal getConvert_loan_amount() {
		return convert_loan_amount;
	}

	public void setConvert_loan_amount(BigDecimal convert_loan_amount) {
		this.convert_loan_amount = convert_loan_amount;
	}

	public Date getLoan_date() {
		return loan_date;
	}

	public void setLoan_date(Date loan_date) {
		this.loan_date = loan_date;
	}

	public Date getExpire_date() {
		return expire_date;
	}

	public void setExpire_date(Date expire_date) {
		this.expire_date = expire_date;
	}

	public String getLtd() {
		return ltd;
	}

	public void setLtd(String ltd) {
		this.ltd = ltd;
	}

	public String getLtd_code() {
		return ltd_code;
	}

	public void setLtd_code(String ltd_code) {
		this.ltd_code = ltd_code;
	}

	public String getLtd_name() {
		return ltd_name;
	}

	public void setLtd_name(String ltd_name) {
		this.ltd_name = ltd_name;
	}

	public String getOperator_no() {
		return operator_no;
	}

	public void setOperator_no(String operator_no) {
		this.operator_no = operator_no;
	}

	public String getOperator_name() {
		return operator_name;
	}

	public void setOperator_name(String operator_name) {
		this.operator_name = operator_name;
	}

	public String getReferrer_no() {
		return referrer_no;
	}

	public void setReferrer_no(String referrer_no) {
		this.referrer_no = referrer_no;
	}

	public String getReferrer_name() {
		return referrer_name;
	}

	public void setReferrer_name(String referrer_name) {
		this.referrer_name = referrer_name;
	}

	public String getRecommend_type() {
		return recommend_type;
	}

	public void setRecommend_type(String recommend_type) {
		this.recommend_type = recommend_type;
	}

	public String getReferrer_assign_coefficient() {
		return referrer_assign_coefficient;
	}

	public void setReferrer_assign_coefficient(String referrer_assign_coefficient) {
		this.referrer_assign_coefficient = referrer_assign_coefficient;
	}

	public String getIs_continue_loan() {
		return is_continue_loan;
	}

	public void setIs_continue_loan(String is_continue_loan) {
		this.is_continue_loan = is_continue_loan;
	}

	public BigDecimal getUser_convert_loan_amount() {
		return user_convert_loan_amount;
	}

	public void setUser_convert_loan_amount(BigDecimal user_convert_loan_amount) {
		this.user_convert_loan_amount = user_convert_loan_amount;
	}

	public String getUser_bill_relation() {
		return user_bill_relation;
	}

	public void setUser_bill_relation(String user_bill_relation) {
		this.user_bill_relation = user_bill_relation;
	}

	public String getIs_lock() {
		return is_lock;
	}

	public void setIs_lock(String is_lock) {
		this.is_lock = is_lock;
	}

	public String getCreate_user() {
		return create_user;
	}

	public void setCreate_user(String create_user) {
		this.create_user = create_user;
	}

	public Date getCreate_date() {
		return create_date;
	}

	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}

	public String getUpdate_user() {
		return update_user;
	}

	public void setUpdate_user(String update_user) {
		this.update_user = update_user;
	}

	public Date getUpdate_date() {
		return update_date;
	}

	public void setUpdate_date(Date update_date) {
		this.update_date = update_date;
	}

	public String getConfirm_user() {
		return confirm_user;
	}

	public void setConfirm_user(String confirm_user) {
		this.confirm_user = confirm_user;
	}

	public Date getConfirm_date() {
		return confirm_date;
	}

	public void setConfirm_date(Date confirm_date) {
		this.confirm_date = confirm_date;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
}
